<?php

    /**
    * @author Ivan Kukic
    * Date: Sep 16
    */

    require_once ($application_folder."/libraries/MY_Controller.php"); 
    class Navigator extends MY_Controller {

        // def var
        var $data = array();

        function Navigator() {
            parent::MY_Controller(); 
            //$this->display_session_obj();
        }

        function index() {
            show_404();
        }

        function display_session_obj(){    
            $this->trace('--- ACCOUNT INFO ---');
            $this->trace('NOT SET');
            $this->trace('--------------------');                                      
        }        

        function title($title){
            $this->data['title_for_layout']=$title;            
        }
        
        function navigate($page)
        {
            $this->layout->view($page,  $this->data);            
        }
    }
?>